package com.chenjinyan.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class MessageVo  implements Serializable {


    private static final long serialVersionUID = 4363792336468318306L;

    private Long id;
    @NotNull(message = "失物id不能为空")
    private Long goodsId;
    @NotNull(message = "留言不能为空")
    private String message;
    @NotNull(message = "用户id不能为空")
    private Long userId;
}
